package org.mashibing.remote;

import org.mashibing.dto.ResponseResult;
import org.mashibing.request.ForecastPriceDTO;
import org.mashibing.response.ForecastPriceResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author:
 * @create: 2024/4/11 15:23
 * @description:
 */
@FeignClient("service-price")
public interface ServicePriceClient {

    @PostMapping("/forecast-price")
    ResponseResult<ForecastPriceResponse> forecastPrice(@RequestBody ForecastPriceDTO forecastPriceDTO);
}
